package com.atguigu.tingshu.enums.order;

public enum OrderStatus {
    UNPAID("0901", "未支付"),
    PAID("0902", "已支付"),
    CANCEL("0903", "已取消")
    ;

    private String code;

    private String name;

    OrderStatus(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
